home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / MATHS / RLAB / RLAB125.ZIP / !RLaB / help_sz / solve < prev    next >
Text File  |  1994-09-05  |  882b  |  35 lines

  1. solve:
  2.  
  3. Syntax:    solve ( A , B )
  4.     solve ( A , B , TYPE )
  5.  
  6. Description:
  7.  
  8.     Solve solves a system of linear equations:
  9.  
  10.         A * X = B,    A is the coefficient matrix
  11.                 B is the right hand side
  12.                 X is the solution
  13.  
  14.     where A is the 1st, and B is the 2nd argument to solve(). The
  15.     columns of B are the individual right hand sides.
  16.  
  17.     Solve returns a matrix of the solutions, where each column
  18.     of the solution corresponds to a column of B.
  19.  
  20.     Solve uses the LAPACK subroutines DGETRF, and ZGETRF if A is
  21.     general. 
  22.  
  23.     Solve uses the LAPACK subroutines DSYTRF, and ZHETRF if A is
  24.     symmetric. 
  25.  
  26.     The third and optional argument allows the user to overide the
  27.     symmetry check, and force the solve to use either the general
  28.     or the symmetric solver.
  29.  
  30.         TYPE = "g" or "G"    The general solution is used.
  31.  
  32.         TYPE = "s" or "S"    the symmetric solution is used.
  33.  
  34. See Also: backsub, inv, factor, lu, rcond
  35.